// 处理多次点击方法
function preventReClick(fun) {
	let that = this;
	if (that.noClick) {
		that.noClick = false;
		fun();
		setTimeout(function() {
			that.noClick = true;
		}, 2000)
	} else {
		console.log("请稍后点击")
	}
}
export {
	preventReClick
}
